<?php
/**
 * Created by PhpStorm.
 * User: lzq
 * Date: 2018-11-9
 * Time: 9:04
 */
use yii\helpers\Html;

$this->title = '商品列表导出结果';

if(!empty($filename)){



    echo Html::label('导出结果（点击下载）：');
    echo "<br>";
    echo Html::a("GoodsList.xls",$filename);
    echo "<br>";

}else{
    echo Html::label("导出失败，没有文件！");
    echo "<br>";
}

echo Html::a('点击返回商品列表','/goods/index');
?>

